import request from '@/utils/request/index.js'

export default {
    // 获取供货团长详情
    getGroupInfo(data) {
        return request({
            url: '/store/mini/head/getGroupInfo',
            method: 'POST',
            data
        })
    },
    // 修改供货团长昵称
    updateRemark(data) {
        return request({
            url: '/store/mini/head/updateGroupRemark',
            method: 'POST',
            data
        })
    },
    // 解除帮卖关系
    relieve(data) {
        return request({
            url: '/store/mini/head/relieveGroup',
            method: 'POST',
            data
        })
    },
    // 供货列表
    getList(data) {
        return request({
            url: '/store/mini/head/getGroupDynamicList',
            method: 'POST',
            data
        })
    }
}